//Bitmap font done by David John


#pragma once

#include "../../SGD Wrappers/SGD_String.h"

#define WIN32_LEAN_AND_MEAN
#include <Windows.h>


// REQUIREMENTS:
//	- textures MUST be a size power-of-2: 2,4,8,16,32,etc.
//	- characters MUST be in ASCII order, 
//		with spaces for any missing characters
//	- could be missing characters before or after
//	- characters MUST have a fixed-width & fixed-height
class CBitmapFont
{
public:
	CBitmapFont(void);
	~CBitmapFont(void);

	void Initialize( void );
	void Terminate( void );

	void Draw( const TCHAR* strOutput, int X, int Y,
			   float Scale, DWORD dwColor ) const;
	RECT	CellAlgorithm( TCHAR ch ) const;
private:
	int		ImageID;
};

